import Vue from 'vue'
import Vuex from 'vuex'
import user from '@/store/modules/user'
import createPersistedState from 'vuex-persistedstate'
Vue.use(Vuex)

export default new Vuex.Store({

  state: {
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    user
  },
  plugins: [createPersistedState(
    {
      key: 'hmtt95',
      paths: ['user.tokenObj']
    }
  )]
})
